﻿using DapperExtensions;
using System;
namespace FineAdmin.Model
{
    [Table("BlogComment")]
    /// <summary>
    /// BlogComment 
    /// </summary>
    public class BlogCommentModel : Entity
    {


        /// <summary>
        /// 无 
        /// </summary>
        public int? UserID { get; set; }

        /// <summary>
        /// 无 
        /// </summary>
        public string Contents { get; set; }

        /// <summary>
        /// 无 
        /// </summary>
        public string IP { get; set; }

        /// <summary>
        /// 无 
        /// </summary>
        public string City { get; set; }

        /// <summary>
        /// 关联文章ID 
        /// </summary>
        public int? PostsId { get; set; }

        /// <summary>
        /// 针对留言回复的id,嵌套循环 
        /// </summary>
        public int? Pid { get; set; }

        /// <summary>
        /// 浏览类型 1 文章留言 2网站留言 3问题建议  
        /// </summary>
        public int? Type { get; set; }

        /// <summary>
        /// 无 
        /// </summary>
        public bool? Show { get; set; }

        /// <summary>
        /// 无 
        /// </summary>
        public string EMail { get; set; }

        /// <summary>
        /// 无 
        /// </summary>
        public string Phone { get; set; }


        /// <summary>
        /// 无 
        /// </summary>
        public int? Clicks { get; set; }

        /// <summary>
        /// 无 
        /// </summary>
        public int? Likes { get; set; }
        /// <summary>
        /// 1 正常 2审核 3废弃
        /// </summary>
        public int? State { get; set; }

        public int? Trample { get; set; }

        public string NickName { get; set; }

    }
}